<?php
declare (strict_types = 1);

namespace app\model;


class Admin extends AppModel
{
    protected $hidden = ['password'];

    public function roles()
    {
        return $this->belongsToMany(AuthGroup::class,'auth_group_access','group_id','uid');
    }
}
